/**
 * 
 */
package com.clh.dao;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.clh.entity.Pay;
import com.clh.entity.Repair;

/**
  * @Description: TODO
  * @author zyw
  * @date 2022-5-25 20:18:59
  * @version v1.0
 */
public interface RepairDao {

	//查询报修列表
	List<Repair> findRepairList(Repair repair, int pageNum, int pageSize);
	
	//报修信息总条数
	int countByCondition(String start, String end, String repairNo);
	
	//根据报修编号查报修信息
	Repair queryByIdRepairInformation(String repairNo);
	
	//报修信息修改
	int updateRepair(String repairHandler, String  repairStatus, String repairNo, String repairDealTime);
	
	//报修信息删除
	int deleteReapir(String repairNo);
	
	//单个用户报修信息
	List<Repair> ownerRepairList(String phoneNumber, String repairContent, int pageNum, int pageSize);
	
	//单个用户报修信息总条数
	int ownerCountByCondition(String phoneNumber, String repairContent);
	
	//用户报修状态修改
	int wonerRepairStatusUpdate(String repairNo, String repairStatus);
	
	//报修信息插入
	int ownerRepairAdd(Repair repair);
	
	//生成缴费订单
	int ownerReapirPay(Pay pay);
	
	//缴费订单号插入报修表
	int ownerRepairPayNoAdd(String repairNo, String payNo);
	
	//查缴费金额
	Pay findPayMoney(String repairNo);
	
	
	
	
	
	
	
}
